/**
 * 合作方相关的请求
 */
import ApiBase from './ApiBase';
import Urls from '../ApiUrls';

class ApiPartner {
  getPartnerList(parms) {
    return ApiBase.send(Urls.URL_PARTNER_LIST,parms);
  }
  getPartnerById(parms) {
    return ApiBase.send(Urls.URL_PARTNER_BY_ID,parms);
  }
  addOrEdit(parms) {
    return ApiBase.send(Urls.URL_ADD_OR_EDIT,parms);
  }
  createPage(parms) {
    return ApiBase.send(Urls.URL_CREATE_PAGE,parms);
  }

}
export  default  ApiPartner
